package com.ycl.bookstore.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.Date;
import lombok.Data;

/**
 * 
 * @TableName recharge_record
 */
@TableName(value ="recharge_record")
@Data
public class RechargeRecord implements Serializable {
    /**
     * 主键
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 用户id
     */
    private Long userId;

    /**
     * 充值金额
     */
    private BigDecimal money;

    /**
     * 充值时间
     */
    private LocalDateTime rechargeTime;

    /**
     * 昵称
     */
    @TableField(exist = false)
    private String nickName;

    /**
     * 支付记录编号
     */
    private String recordId;

    /**
     * 记录充值记录状态  0表示删除  1表示未删除
     */
    private Integer status;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}